body{
    margin: 0;
    padding: 0;
    /* background: #e84118; */
}
.search-box{
    /* 整个搜索内容定位到页面中间 */
    position: absolute;
    top: 18px;
    left: -30px;
    /* top: 50%; */
    /* left: 50%; */
    transform: translate(-50%,-50%);
    background: #e4e4e49d;
    height: 40px;
    border-radius: 40px;
    padding: 10px;
}
.search-box:hover > .search-txt{
    width: 240px;
    padding: 0 6px ;

}
.search-box:hover > .search-btn{
    background: white;
}

.search-btn{
    color: #e84118;
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    /* position: absolute; */
    /* top: 30px; */
    border: 0;
    /* margin-top: -5px; */
}

.search-txt{
    border: none;
    background: none;
    outline: none;
    float: left;
    padding: 0;
    color: black;
    font-size: 16px;
    transition: 0.4s;
    /* 使搜索框内文本居中 */
    line-height: 36px;
    /* 更改此代码可收缩搜索框 */
    width: 240px;
}